﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.SeasonModel
{
    public class ManageSeasonsGridViewModel : UserAllPermissionsViewModel
    {
        public List<ManageSeasonsGridRowViewModel> Rows { get; set; }
        [DisplayName("Code:")]
        public string SeasonCodeText { get; set; }
        [DisplayName("Description:")]
        public string SeasonDescriptionText { get; set; }
        [DisplayName("IsCurrent:")]
        public List<SelectListItem> CurrentSearch { get; set; }
        public bool? IsCurrentSearch { get; set; }
        public int PageNum { get; set; }
        public bool IsSearch { get; set; }
        public bool IsCanView { get; set; }
        public string Message { get; set; }
    }
    public class ManageSeasonsGridRowViewModel
    {
        public int SeasonID { get; set; }
        [DisplayName("Season Code:")]
        public string SeasonCode { get; set; }
        [DisplayName("Description:")]
        public string SeasonDescription { get; set; }
        [DisplayName("Start Date:")]
        public string StartDate { get; set; }
        [DisplayName("Finish Date:")]
        public string FinishDate { get; set; }
        public string Message { get; set; }
        [DisplayName("IsCurrent:")]
        public bool IsCurrent { get; set; }
    }
}